#ifndef _UIDIALOGVIEW_H_
#define _UIDIALOGVIEW_H_

#include <UIKit/UIControl.h>

class UIDialogViewPrivate;
class UIDialogView : public UIControl {
    Q_OBJECT

    public:
        UIDialogView (QGraphicsItem *parent = 0);
        ~UIDialogView();

        QString title (void) const;
        void setTitle (const QString& title);

    Q_SIGNALS:
        void closeTouched (void);

    protected:
        void drawRect (QPainter *painter, const QRect& rect);

    protected:
        void singleTapEvent (UITouch *touch);

    private:
        UIDialogViewPrivate *d;
};

#endif /* !_UIDIALOGVIEW_H_ */

